Moves constants object to a module.