Implement replicator::import_from_xml