Implemented region annotation scheme for detecting globals and set it as default.