Fixed migrating a package to extension leaving the type at package.