I think you could probably just set the persist flag on this CO? And then in the pref code you only have to interact with the CO and not the Config