Add avg by to the documentation.