Packet define cleanup