Setup part of datastore structure.