Support for routing custom events.