These two checks are redundant as we test creating documents elsewhere.