Useful classes for yii2