Implemented transactions in sync client.