Generation functions: handles, uuid, etc