Adjust for new config api.