Fix for small API change for creating UriRequest