text: public virtual void Include(Ref r){Include(r.GetName(), r.GetObjectId());if (r.GetPeeledObjectId() != null){tagTargets.AddItem(r.GetPeeledObjectId());}else{if (r.GetObjectId() != null && r.GetName().StartsWith(Constants.R_HEADS)){tagTargets.AddItem(r.GetObjectId());}}}