[docs] Update API docs.