Backward сompatibility fix for prepareSession()

Method prepareSession() returns session as in parent class.