public function render( core_kernel_classes_Resource $item, $langCode)
    {
    	$itemService = taoItems_models_classes_ItemsService::singleton();
    	$file = $itemService->getItemDirectory($item)->getFile('index.html');
        $xhtml = $file->read();

        // Check if all needed APIs are referenced.
        $xhtml = $this->replaceDeprecatedApis($xhtml); // throws ItemModelException.

        return $xhtml;
    }