Pass in the resolve function to the requires infusion.
Setup auto-infused modules