added the support for namespaced events