Added PrefKey util class