Added the delete method.