Rearrange the structure of type package.