Additional preprocessing on values in general template.