Add delete function.