Corrected typos in code.