core: change grammar of foreign imports