gs: Implement NewSession.