Merge "Removing duplicated code from init_config()."