Fix ImportSpec.