Use a Map instead of a List.