Added abstract class SessionBase.