Renamed privateEvents to internalEvents.