Silence deprecation compile warning