Minor fixes to docstrings that are generated