Eliminate duplicate reff.