Got rid of the "types" cache entirely (xml files and MetaCache).