Cleaning of porous materials