Change constructor behavior.

When initializing with trace_info, create a trace with this info and do not
produce a child span.