Add support for global declarations