Docstrings and some comments.
Fix some minor things.

Remove a reundant `pass`; fix a typo in a docstring and clarify another; trim
trailing whitespace.