Migrate package primitives