Added support for disabling modules from config.