I use datasets extensively, and I have one dataset (CSV) used in multiple documents. I have to create layers and assign variables from the dataset to them just to ensure the full number of variables is maintained, otherwise the dataset won't import. My idea is to ensure the dataset imports even though some of the variables aren't declared in the document.