Disallow importing types with lowercase aliases (see #3457)