Add docstrings to several files