Generating global variables.