Docstring improvements, including formatting fixes