[PATCH v4 05/18] Task: add HostAPI methods