Use flatdoc