Adds tuple generator.