Implemented transactions.