Trying to silence deprecation warnings