func WithFunction(name string, fn interface{}) Option {
	return func(o *Options) { o.functions[name] = fn }
}
func WithFunction(name string, fn interface{}) Option {
	return func(o *Options) { o.functions[name] = fn }
}
// WithFunction adds a function to templates.