Getting initialdocs to a known state.