Remove debugging statements in generator method.