Eliminate redundant namespaces