Provide import context to bg import block
More robust entity/class name lookup, exception domain