Adding namespace and exception interface