Port more of EventManager.

Specifically validateEvent:error:.