Fix wildcard imports

Fix issue #466.