Presence or absence of TGF-beta determines IL-4-induced generation of type 1 or type 2 CD8 T cell subsets.