Simplify a namespace.