Some work on pre-processing.