Avoid using deprecated config calls