Making DocumentViewModel.