Fixes typos in docstrings and error messages.