Fix typos in sample code.