Fixed instantiation of new trace objects.