Create patterns.
