Fix typos in documentation and comments