refactor(inline generators): inline generators to make transition to ES7 smoother