Refactored display/pretty printing of expressions.