Add handling for "from .. import Z"