Starting to add support for event profiling.