Removing unused namespaces