Adding delete method.