docs: improve API docs.