Implement repetition.