New functions for generic types in Reflection.fs