let export_items f ids = 
  export f (fun visit -> List.iter visit ids)