v2 migration code

Move empty hooks to the location where the v2 cartridge can find.