Cleanup namespaces.