#228 - TemplateVariable now correctly rejects invalid parameters.