Fix spelling and grammar errors in docstring.