Added support to enable or disable DRE batching at runtime.