Made connections a proper object