Added support for wildcard event handlers.