Initial work on expected value class.