#2723: Found a different solution to this issue, by using IList<T> as the return type for the GetValues<T> method.