Document initialization and preinit configuration