templates: notify when definition not available