Fix generating code for generators.
Fix "ResumeGenerator" overload generation.
Fix prologue for iterators