Fix spellings errors

I noticed some typos in the documentation and error messages.