Managing Safety of Heterogeneous Systems