[log] Remake FragmentGenerator.