Replace use of Retract with Delete