Have event name inside CEvent object?

Hi, in my application I use one method to trap multiple events, but we don't have the event name (like onPostUpdate) inside the event object;

Add inside CEvent->name property

and inside the CComponent::raiseEvent method add:

  if (property_exists($event,'name'))

        $event->name = $name;

Other way to have the event name trap by the handler?

I’m looking for a solution to this too.