Remove redundant namespace declarations.