Added new uid() method to QueueItem.