Reuse the code
Pass uniqueId during initialization (for cloud code cleanup)