Add event namespaces support