Added a couple global variables.