Add GenericValue.GetMember() and fix some warnings.