EG/TS: added generator utils a la comsume etc