Compatibility with template-engine-preview-1