Remove hashCode() and equals() from TraceImpl