add ability to override default SessionType