Adds validates uniqueness snippet