ExpressionVisitor instances are created later on, and that shoudl not happen while the duchain is locked.