Some changes to the docs.

Fixed some doc strings and a typo in the docs. [ci skip]