Better implementation of Expression.__repr__