Generators

This is WIP and will be in the full 1.3 release.