Tweak docstrings, fix line endings