Show error properly when a custom field type does not exist
Initialize self.templates