Enable extension in template