Session class.