Made connection reference a private attribute