Replaced the TransactionDefinition with an associative array