Access globals from custom module

I've stored a number of methods in the globals object that I'm calling from various widgets. I'd like to be able to call those same methods from a custom module. Is there any way to access the globals object from a custom module?

The custom module runs in a different context from the client / widget scripts, variables can't be shared that way. You need to use osc messages to communicate between the clients and the custom module.