Factory method for CreateSession.create