Correcting a crash when saving generic controllers.