Add some support for qualified imports.