DocumentSample unified

Upgraded to unified. Constructor in MyDocument.cs is still broken and
needs to be fixed.