Added random helper methods for integer.