If repeat is set to a negative number, it will never be removed.