Removed external flatdoc dependency.