Added exception handling when a value is not set.
Added Value.get_actual_value()
Reformatting code.