BAZYNGO-1191: made collection factory method arguments co-variant