Completed first version of data scrubber.