Improved caching in Group.pm.