Merge "input accumulators: pass RawEvent references instead of pointers" into main