Expose the connection from the session.