Chapter 11. The Command Pattern