Added addModules() to add multiple modules at the same time in a tuple or array.