Allow for simpler generator syntax