Add support for global resources