Remove unnecessary newlines from docstrings