Move static type cache from TypeModel to instance property on Generator