Patterns added.
Some merging.