Added a second session creation method to ISessionFactory