Add destroy action to programs.