Fix in require path when adding components to a module.