Yes there's another way which doesn't require template editing
Create a partial class of HelperClasses\EntityCollection.cs.
In there, override the following method like this:
protected override void PlaceInRemovedEntitiesTracker(TEntity item)
{
if(this.RemovedEntitiesTracker == null)
{
this.RemovedEntitiesTracker = new EntityCollection<TEntity>();
}
base.PlaceInRemovedEntitiesTracker(item);
}
This will make sure that when the removedentitiestracker is needed, there's one, and if it's not needed, none is created. The base class' method will check if there's a tracker and return if there's none. So this is IMHO the best way: when you need it, you'll get a call to that method, you create the tracker if it's not there, and then proceed as normal.