Changed priorities to be optional in unity kernel