Correct typos in a variable name and a method name.