Simplify Repeat() example.