Added support for non-instance method event callbacks