Allow custom fields in template.xml