Fix a bizarre compile error with Event.