Preliminary support for generators
release 0.5.0