Parse foreign imports.