draft of batch callbacks doc