I added an evaluate method to Variable since render should always outputs a string, and in this case a value is assigned which need not be a string.  The assigned value may be used in a filter, so can't be coerced to a string yet.