Add docs for the public API