The preferences API provides a low-level way for plugins to store and retrieve their preferences.