Chapter 9: Removed code for challenges.