Start of changes to change the dynamic and trace editor diagrams by
removing calls before an activation