Changes for getting the and setting the task priority.