I have removed the `setUnique` method as it was used nowhere in the code. I will double check.