Add docstrings for the convenience API.