Added the beginning of a delete method.