Added a callback to run on every module added to module.exports