cache type-matchers of polyfns