Distinct developmental pathways generate functionally distinct populations of natural killer cells