Fixing exception namespaces