function onAfterInit()
    {
        foreach ((array)$this->owner->config()->include_requirements_from_class as $class => $method) {
            if (is_numeric($class)) {
                singleton($method)->includes($this->owner);
            } else {
                singleton($class)->$method($this->owner);
            }
        }

        if($this->owner instanceof \KickAssets) {
            return;
        }

        Requirements::javascript(singleton('env')->get('mwm-utilities.dir', basename(rtrim(dirname(dirname(dirname(dirname(__FILE__)))), DIRECTORY_SEPARATOR))) . '/js/mwm.core.leftandmain.js');
    }