Use gen.Return in generator engine instead of last evaluated value