merge document model modules