Yii base extensions