Added support for $GLOBALS.