Generalize optional configuration to all modules.