Stop deprecation warning to show up.