Adding support for refreshing entities in the queue.