added support for static event handlers