support package-local types