function __construct($dispatcher) { parent::__construct($dispatcher); $this->plugin = $this->dispatcher->current_plugin; }