Removed old unused method
Renamed attachEventHandler to preattachEventHandler to avoid yii conflicts. (#8)