tpl: Corrected document comments
tpl.renderer: Add extension if data undefined
tpl.change: Add extension if id undefined