Connection lib warning fixes