Removing unneeded namespaces.