Fix punctuation of docstrings