Added constructor to Session