Add docstrings.

Shorten long docstring.