Renamed ClassPermissions to ClassPermission.