Removing defect clearance functions