At this point in the doc, one doesn't know what `sql_template` is, maybe create a link to `see Creating your own Aggregate Functions for more detail.`?