Add API docs.
[ci skip]