Modify docstrings to better use the format of sphinx autodoc.