Code cleanup for causal consistency.