Remove a global variable in some insanely old code.