Introducing SessionInfo to host the session related details.

Minor fix related to setting deletion.