Added packet types class.