Added event semantics to traces. This is needed to support proper intratrace deps.