Add cache to ExprWalker.