Updated SessionSetting class with more methods