Be able to parse imports from non-toplevel scopes