Better handling missing type name