Rewrite some of the packet and synchronization systems