Documentation for aggregate and some minor fixes to the doc