Remove enum in Transaction.