replaces some operations in expr.rb with calls to ExprBuilder