Class declaration of Event type object