Reduce `objectTypes` and `indexTypes` deps.