Remove redundant code in TypeConverter

This code does literally nothing but strikes performance greatly. Looks like a garbage left after copy-paste...