AddReferencedObjects . How it works?

Thank you but I think it’s not actual anymore since there is function AddToRoot().