Simplify exception namespaces.