Add checkboxes and radio custom field to API.