Generalize yield.