Improve docstrings for sphinx.