Fix typo and docstring cleanup