Added Preprocessing API