Use a template map instead of a template instance.