Added a convenience get fucntion to value.