Fix miscellaneous typos

Mostly in comments and documentation, but one method name was corrected to match documentation.