Code cleanup for causal KVS.