Modified to support DDC deployment scenario.