Modified the GetDetails functions in the Type System sample.