[minor] Minor typo and function naming fixes.