Added a delete method.