Add note to edit summary when templates are replaced.
Remove empty templates.