Add method priority to task