diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala
index c27565b..5aad8c4 100644
--- a/backends/eds/lib/edsf-persona-store.vala
+++ b/backends/eds/lib/edsf-persona-store.vala
@@ -29,6 +29,8 @@ using GLib;
 
 extern const string BACKEND_NAME;
 
+public extern void e_vcard_remove_attribute(E.VCard? vcard, E.VCardAttribute? attr);
+
 /* The following function is needed in order to use the async SourceRegistry
  * constructor. FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=659886 */
 [CCode (cname = "e_source_registry_new", cheader_filename = "libedataserver/libedataserver.h", finish_function = "e_source_registry_new_finish")]
@@ -1328,7 +1330,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
       unowned VCardAttribute? attr = contact.get_attribute (attr_name);
       if (attr != null)
         {
-          contact.remove_attribute ((!) attr);
+          e_vcard_remove_attribute(contact, attr);
         }
     }
 
