Renamed "transform" function to "preProcess".