diff --git a/ModFile.cc b/ModFile.cc
index 06c9bf82cfa1c4e88cebd5919f7c74ba6531bc13..57e2e188cb5438e5ab25054781b4a28873d44d48 100644
--- a/ModFile.cc
+++ b/ModFile.cc
@@ -673,8 +673,6 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo
 
   mOutputFile << "tic0 = tic;" << endl
               << "% Save empty dates and dseries objects in memory." << endl
-              << "dates('initialize');" << endl
-              << "dseries('initialize');" << endl
               << "% Define global variables." << endl
               << "global M_ options_ oo_ estim_params_ bayestopt_ dataset_ dataset_info estimation_info ys0_ ex0_" << endl
               << "options_ = [];" << endl