Add some docstrings.