Fixed backwards compatibility for priority constants.