Document repeating function.