It would be better to export the struct type even if no fields are exported.