Made PacketFactory public.