More advanced handling of signals when preparing the simulation results for output.