Add an accessor for the connection