Correct typos in a variable name and a method name, and some mintor grammar.