pathPrefix with PathMatcher greater than 2

I noticed that the PathMatchers directive goes up 22 number of potential match classes, but the pathPrefix only accepts up to PathMatchers2<T, T>. Is this by design?