Someone has a love of useless globals. Eliminating.