Fixed some typos in messages and documentation.