Update docs and generation script for aggregations.