Added the Event class