adds Session class