add methods to SessionWrap