[cleanup] Removed the deprecated <template> field from documents