Allow definition of namespaces map contents through constructor