Added random and randomCallback methods to Collection