Fixes namespaces reset when running multiple require calls #3