Fixed unassigned member variable in KernelInvocation class.