Our usecase is that we would like to support making some modules visible (without corresponding #includes) while building a module.
Experimental implementation here: https://github.com/root-project/root/pull/3850/commits/cef39111ccff432e32db84952d0bb9b3aac8c7d5
Would it be useful to pass in the module (and maybe the import location) here?