Added random variable class.