Improve DIRECT_PRIORITIES.