Modify the source of a required module