Memory safety on verbose additions in prefs API