fix and extend replicate optimization, and add the packet method though it is currently disabled
1 file changed