Remove reference to undefined variable.