New session implemenation.