Minor fixes to Transaction.