forall and class contexts