Fix error in example code.