Removed global variable.