Add code to explore design patterns.