Improved compatibility of docstrings with Sphinx