Remove namespaces not needed