Added code to get the MachineRoot when invoking translator from the
Component Diagram