Silence deprecation warnings [skip ci]