Minor code cleanup for causal dict.