Merge all the modules into one.