Clearly mention in the documentation of the Template constructor that it might throw if it fails to compile your template