Add registerCorePackets method