Fixed problem with DPUTemplateRecord type