Fix package.type.