Allow generator syntax