public function convert($data)
    {
        $data = trim($data);

        try {

            // Buffer engine used to convert the html string into DOMElements,
            $engine = new FabricationEngine;
            $engine->run($data);

            // Check if the body is null, so use the head if avaliable.
            if ($engine->getBody()->item(0) == null) {

                $node = $engine->getHead()->item(0)->childNodes->item(0);

                return $this->importNode($node, true);
            }

            if ($engine->getBody()->item(0) !== null) {

                // body first item.
                $node = $engine->getBody()->item(0)->childNodes->item(0);

                return $this->importNode($node, true);
            }

            return false;
        } catch (\Exception $e) {

            return('FabricationEngine :: convert : ' . $e->getMessage());
        }
    }