Added rudamentary support for merging external data. Removing subunits layer by default.