Added initialization of field newLog of model, which is otherwise not
initialized.