Catch missing template case so we can throw a more descriptive error.