Added comparators to key-value pairs that only take the key into account.