Global variables are dumb. Let's get rid of a few.