Added missing import of event class.