Use correct event class.