Make sure we formatIndent document.pkg.Doc

This fixes #3