Remove unnessary delete calls.