Updated flags logic, added conversions for generators