Adds namespaced exceptions.