Adding scaladoc commnets for SessionSettings, and fixing type in check file.