Implemented returned generator spying.