Add repeat block.