Thought about that too. But the callback is issued in the context of the window. So no this reference to the AjaxSessionLoader is available. Can you help me with that?