Fixing get averages, and such.