Added utility methods for random numbers and strings.