Delete unused namespaces.