`yii\base\Theme` refactoring