Increase the life span of cached user names.
Add static import for avg.