Updated deprecated config to stop the compiler complaining