[library] More API docs