Extract global module methods into own module.