Factorize and improve embedded converters.