Build modules for flux categories too.
Only add  a `@type` tag to functions that need it when using `replaceFunction`.