Manage loop references