Yii CDbCommand derivative that will survive serialization and unserialization