Use x-macros to generate standard expression visualization classes

All classes which are trivial to replace with the new technique are
replaced.