[PATCH v2 22/26] Task: add interface handling TaskAPI methods