Merged TaggedList and CountedList into one module, IndexedList.