Add parser support for foreign imports.