Do not use generationSessionContext.getInvocationContext as it's scheduled for removal from public API