Add delete method to action objects.