Support "Main.main" in other namespaces.