Sequences.apply and required changes, like <E, M> -> <? super E, M>