Using of
Pair
constructor produces unnecessary generic declarations. Use
Pair.create(a, b)