Replace a obsolete config item with a constant.