handle implied imports