Moved global variables to DriverConfig.