Modified the inheritance struction for Simulation.