Session registry and other related classes.