Visit imports not only on the root level