Fix up namespacing on exception thrown in UriImmuteable.
Remove unneeded use statements.