Add some basic design patterns.