Fix typos in comments and function names.

Authored by johanneszarl on Oct 19 2018, 4:19 PM.