PacketBuffer class split up.