Updated for Yii 2.0rc