Added profiling for event objects