Document transaction for callbacks