Doc the callback interface.