getGlobalsForModule moved to Helpers