Factor out session description construction