Early setup of document structure / styles