Event::getType now returns EventType