The Session class is accessible via the paste.webkit.wksession module.
See the source for more information.