An object-based approach to listening for non-DOM events.