Generalizing Simulation API