Copied delete method over.