Automate registering pre-compiled templates.