Various classes in an anonymous namespace were being instantiated
in the wrong namespace. They don't need to be explicitly instantiated at all.