Remove deprecated models from permission definitions