Add docstrings.