Finish implementing patterns.

This all feels like a house of cards.