Rename delete reference function