Document the public API