Changed connection endpoints to array.