Fixes to digital output.