Renamed groupPriority to classPriority to be more explicit