Enumerating the collection, need lock.