Add "each" capability to `rep`.