Fixed missing function definition from merge.
This is actually a used variable now.
Added in variables missing after merge