allow creation of custom fields with API object