Added support for custom fields in contacts.