Remove unused namespace declarations.