Changed theme and flatdoc refs to local copy.