Repetition arguments

WIP, no test cases yet.

MON-354, MON-355