Consolidate the preferences into a structure