Fixed Connect 3.0 depreciation warning