Some small addons for Yii for personal use