Add Packet class.