Added targert model check for 'import_from_hash' method.