Added a GetValue method that takes a string.