fwr: should not pass $taskConfig as parameter to constructor