Allow for generators