Adds reset function to packet class