Move random function to the SocialrData service.