Add plain pattern generation.