Moved addAttributes() to getManifestRoot() from __toString()