[doc] Documented the interface.