It looks like it would be useful to expose these APIs also on StatelessSession; maybe it was forgotten?