Fix void-variable error when, under certain conditions, these variables are referred to before their containing files are loaded.