Fixed some typos and did small update to session and core classes.