Use common processing logic to conform to new event APIs.