Add Repeat object to standard library