More docstrings for the public API.