polish docstrings