Add per-class permissions.