And fix another bug that I just made

Accidentally removed a function from the main module declaration macro.