Provide repeat removal code.