Handle variable priorities.