Expose a resetNamespaces method