Further work on spec for APISession.