Added prototype parsing function for RepeatRegion