Fixes #7199: Add API docs.