Fixed some minor typos/spelling in code.