Properly register all the different types, after initializing map.