Removing global variables.
Removing global variables.