Add the API to the docs.