Added doctrine style events
Introducing the new events