I'm not sure why did we change several $this->app->wg usages into direct global calls within this pull requests, and on the other hand we're creating a new class using app->wg approach