Add a spy function and @plot macro for expressions.