Improve causal dict example.