Setup structure for preserving docs despite collisions.