Renamed repeat to repeat-element for compatibility with iterate.