Make the template convertible to a domain object