Refactored so events can return multiple trace records.