Deprecate NewSessionConfig, use SessionConfig variable initialized by ProcessConfig instead.
changed default value of configs.