Added overload IsSameType() function to compare strings.