After some minor rewrite of the top parser (which was in fact the only real user of the obj->type field left since introduction of text object callbacks), there is no need for the obj->type field anymore.