cleaned up the SocialConfig class.