Fix and enhance impex spec by localized attribute.