Doc: added preprocessing and some other things.