Invoke function for averages after body is read.