Specified session class.
Fixed an exception when there is no session.
Adding anonymous data to session.