Simplify handling of transactions.