Record revisits, window IDs and tree groupBy.