If possible, check what time stamp types we support.
Use a bit less generic name than "map".
Fix compile errors/warnings.