I don't like exposing these namespaces, can we keep them internal and instead expose new method `setDOMWindow(window, domWindow)` and make sure that one can be set only once.