Import uuid module late because it might be slow to import