Added dispersion correction flag handling to NonbondedGenerator.