Handling events in event class.