Expose preferences to extensions as well.