private function replace($text, $data)
    {
        // Replace Data Tokens:
        
        foreach ($data as $key => $value) {
            
            if (is_scalar($value)) {
                $text = str_replace("{{$key}}", $value, $text);
            }
            
        }
        
        // Replace Config Tokens:
        
        foreach ($this->config as $key => $value) {
            
            if (is_scalar($value)) {
                $text = str_replace("{{$key}}", $value, $text);
            }
            
        }
        
        // Answer Text:
        
        return $text;
    }