fix(sessions): correct session init in whatInitialisation (refs #4860)
feat(document); add url in documentFormat for local images (refs #4786)