Added ability for simulation modules to hook into different phases of the update process.