Make template-file and template-url mutually exclusive.