Bug fix and allowing randomising engines to be passed in to
generators.