I think your comment is right, we should probably change this to `if not isinstance(e, Expr)`.