Namespacing of document events