Don't use package level variables to use as globals for package
functions.

This doesn't seem bad because it works, but assuming that the variable
state will stay the same across file imports in the same package isn't good.