Final state of example code.