Correcting UDT implementation.