Update support for events.

I'd be more convinced if you hadn't done it the other way on line 53 above :)