     ///                  fill.
     ///   - coverId: The coverId to identify the cover ressource and tag it.
     internal func parseRessources(from manifest: AEXMLElement,
-                                  to publication: inout Publication,
-                                  coverId: String?)
+                                  to publication: inout Publication)
     {
         // Get the manifest children items
         guard let manifestItems = manifest["item"].all else {

                continue
            }
            let link = linkFromManifest(item)
            // If the link's rel contains the cover tag, append it to the publication links.
            // Also check if the link was referenced as the cover in the meta.
            // (The ids are temporarily stored into the titles at this point)
            if link.title == coverId {
                link.rel.append("cover")
            }
            if link.rel.contains("cover") {
                publication.links.append(link)
                // TODO - add coverLink?
            }
            // If it's a media overlay ressource append it to the publication links.
            if link.typeLink == "application/smil+xml" {
                // Retrieve the duration of the smil file in the otherMetadata.

        publication.version = epubVersion
        publication.internalData["type"] = "epub"
        publication.internalData["rootfile"] = container.rootFile.rootFilePath
        try parseMetadata(from: document, to: &publication)
        parseRessources(from: document.root["manifest"], to: &publication)
        coverLinkFromMeta(from: document.root["metadata"], to: &publication)
        parseSpine(from: document.root["spine"], to: &publication)
        try parseMediaOverlay(from: container, to: &publication)
        return publication
