Adapted docstrings for sphinx docs