public function getTrace() : Trace
    {
        // No need for further magic if we've already instantiated a Trace Sequence.
        if ($this->trace !== null) {
            return $this->trace;
        }

        // Instantiate a new Trace Sequence and cache it locally.
        return $this->trace = new Trace($this->getFrames());
    }