Get rid of deleting objects after train's departure - causes errors in some circumstances.
Handle RecordNotFound exception in API. Update attributes of the simulation via API.