Updated to new PacketHandler API