Keeping track of sessions.