Changing the IdentityStoreInvocationContext to hold a reference to the IdentityManager.