Adding the rest of global variable analysis.