Changed PriorityInterface to AbstractPriority.