Fix changed API for getting connection dimensions.