Add hook_reset_transaction + hook documentation