Correct generator reference.