Fixed transformation to handle namespaceless mods.