Added priority and kind to tasks