Support external creation of UriPatternMatchers