Various doc string edits and consistency changes in comments.