Remove unused  global. Closes #4694