SocialNetworkStatistics and minor changes in Agent.