Check templates for fields and compilation