Change the compile-time type of TraversedObjects to ICollection<object>