Restore support for deleting models.