Changed Packet type by a class