Changes the argument order in get_value to be consistent with get_constant.  Also, returns constant instead of value, where possible.