public function removeGlobalMethod($name)
    {
        if (isset($this->_appScopeTrait) && isset($this->app->_hookTrait)) {
            $this->app->removeHook('global-method-'.$name);
        }

        return $this;
    }