Add global variables.
Add support for external variable declarations.