replace references to $this->taskConfig and $this->kClient with KBatchBase::$taskConfig and KBatchBase::$kClient, respectively