PreferencesUtils has moved into core side.