Change to a NamespaceResolver on window.