Silence and protect against deprecation warnings