Improved ADC handling.