Building notification messages: adding namespaces before adding children
elements.