Fix minor typos in guide and docstring