Make reconfig logic more clear.