Either auto-discovery (Im assuming some sort of annotation scan) or an SPI method similar to how hibernate-core can register custom user types would be great.