Retweaking session_helper.