Remove unused modules, load all modules at compile time