Closes #343

Ensure the session API examples are up to date