Refactoring IndexedCollection to be explicitly indexed by method.
Refactoring of IndexedCollection to postpone indexing to the moment when modification is completed.