Actually, this makes a lot more sense than exposing srand.