ValueRef now returns a concrete Value type in toValue() method