The preferences Task provides sub elements to set entries for each data type defined in the Preferences API.