Updated Custom Aggregate Functions (markdown)