Macros functions for the module.