Implement TransactionHandler in Cache and Legacy