Added packet class.