UriTemplateMatcher made immutable.