group legacy matcher deprecations together using type key