Added yii support