Adding CRDT functionality