Improved the content compilation procedure.
Added a "writeTypeInformation" flag to ContentWriter.WriteObject().