Add generator support. Adds %s (string) generator.