Suppress deprecation warnings

There is no workaround at the moment...