Regularize namespaces.