Use array instead of map for type names