Bind factory to closure generators

As requested in #351
Thanks for catching that. :)