Main public API documented.