Further work on sessions