remove unnecessary dynamic classname lookups for Type