Fixed TransactionModel gcc4.6 compliance