Fix URITemplateMatcher generation. Respect this immutable structure.