Migrated packagesetup to object manager.