make wildcard imports not hide unit-local declarations for #705