Fix HashMap to always use Traits.equals.