Clean up namespaces.