Added save/load ability to the preprocess.