Removed unnecessary variables from Packet.