silence expected deprecation warnings