Chapter 16. The Template Pattern