Separate collection of entries from the Index class.
Remove unnecessary termAt's.