Or remove them for entity types and add another way to make sure that the appropriate `Snapshot<>` classes are not trimmed away.