WIP: adding an onInit entry point on visitors to add source files at the right moment