Removed old xmp regions impl.
Save regions to metadata.