Add some API docs.