Add new fields to RoutingRequest hashCode and equals. #1042.
Fix dominance for multi-non-transit-mode routing #865 #1042.