Added import and export swatches stuff.