Patches to template sync.