See https://github.com/spring-projects/spring-boot/issues/25069. We want to consistently use only `@Document` as inclusion criteria for entity types.