These uses should ideally be replaced by uses of the Hibernate SPI interfaces. It may be needed to create new SPI interfaces.