Improve string representation of trace.