Register module type inferers before using it in the typemapper