Added some priority settings functionality.