Started reformatting the docstrings to use reStructuredText.