Fixed bug with initializing return values in traces.