export IDs and types, rather than just IDs