Remove the commit parameter in SessionGen().

It was only meant as a transition help. Commits must always be explicit.
Fix small details after the introduction of ProxyService.