This is where we add support for storing data in the root element. This is a special case only for the root element, and only if the subclass says it needs this feature then allow the element to write it's data in the stream.