public function __construct($options = array()) { parent::__construct($options); // Register extra tasks $this->registerTask('add', 'add'); }