Suppress deprecation warning, because not worth using the new solution when trying to target pre-HC devices.