Change the NewSession to return a RetsSession.