Handle embedding template values in create_mapping; rejig merging of class dict attributes; make Experiment inherit from dataset more cleanly.