Accommodating duplicates.