Add some more function docstrings