Add commands and events tracing.