Remove Connect 3 deprecation warning