Silence deprecation warnings in compatibility blocks
We can not port those blocks to use non-deprecated classes, consequently we can only silence the warnings.
We can not port those blocks to use non-deprecated classes, consequently we can only silence the warnings.