I don’t know why I went with a static method `for` on `DocumentURI` but the more Swifty way would be to have an initializer on `DocumentURI`. rdar://126486535