Added a generator wrapper for the Toivonen et al. generator.