Add priorities support